<template>
    <div>
        <comment-box :storeId="this.storeId"></comment-box>
    </div>
</template>

<script type="text/ecmascript-6">

    import { Toast } from 'mint-ui'
    //导入子组件
    import cmtbox from '../subcomponents/comment.vue'

    export default {
        name: 'GoodsComment',
        data() {
            return {
                storeId: this.$route.params.storeId, //将 URL 地址中传递过来的Id值,挂载到 data 上,方便以后调用
                goodsId: this.$route.params.goodsId,
            }
        },
        components: {
            "comment-box": cmtbox,
        }
    }
</script>


<style lang="scss" rel="stylesheet/scss" scoped>

</style>